package org.jeecg.modules.friends.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.friends.condition.ReadyToDeleteCondition;
import org.jeecg.modules.friends.model.ReadyToDeleteDO;

public interface ReadyToDeleteDOMapper {
    long countByCondition(ReadyToDeleteCondition condition);

    int deleteByCondition(ReadyToDeleteCondition condition);

    int deleteByPrimaryKey(Long id);

    int insert(ReadyToDeleteDO record);

    int insertSelective(ReadyToDeleteDO record);

    List<ReadyToDeleteDO> selectByCondition(ReadyToDeleteCondition condition);

    ReadyToDeleteDO selectByPrimaryKey(Long id);

    int updateByConditionSelective(@Param("record") ReadyToDeleteDO record, @Param("condition") ReadyToDeleteCondition condition);

    int updateByCondition(@Param("record") ReadyToDeleteDO record, @Param("condition") ReadyToDeleteCondition condition);

    int updateByPrimaryKeySelective(ReadyToDeleteDO record);

    int updateByPrimaryKey(ReadyToDeleteDO record);
}